package dianmobile.eistarandroid.utils;

/**
 * This class's static methods are usred to check user's input.
 */
public class InputValidator {
    public static String checkAccountInput(String input) {
        if (input.equals("") || input == null)
            return "账号不能为空";
        return null;
    }

    public static String checkPasswordInput(String input) {
        if (input.equals("") || input == null)
            return "密码不能为空";
        return null;
    }
}
